const express = require('express');
const frontRouter = require('./router/router-front')
const app = express();
app.use('/api',frontRouter)
// 启动服务器（确保端口正确）
const PORT = process.env.PORT || 9000;
app.listen(PORT,()=>{console.log('端口9000')})